package com.lagou.service;

import com.lagou.domain.User;

import java.sql.SQLException;

public interface UserService {

    //登录服务，根据提交的用户名和密码查询用户信息
    public User login(String username, String password) throws SQLException;

    //添加用户服务
    public void addUser(User user) throws SQLException;

}
